home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / shadez.swf / scripts / Local / Game / Thing / CStrike.as < prev    next >
Encoding:
Text File  |  2011-08-19  |  1.3 KB  |  58 lines

  1. package Local.Game.Thing
  2. {
  3.    import Local.Game.World.CAngle;
  4.    import Local.Game.World.CPosition;
  5.    import Local.Math.CRandom;
  6.    
  7.    public class CStrike extends CThingSprite
  8.    {
  9.        
  10.       
  11.       public function CStrike(param1:CPosition)
  12.       {
  13.          if(true)
  14.          {
  15.             super();
  16.             if(true)
  17.             {
  18.                mBaseType = "strike";
  19.                if(true)
  20.                {
  21.                   mAngle = new CAngle();
  22.                   if(true)
  23.                   {
  24.                      mPosition = param1;
  25.                      if(true)
  26.                      {
  27.                         mDelta = new CPosition();
  28.                         mRandom = new CRandom(nID);
  29.                      }
  30.                      zDepth = 110;
  31.                   }
  32.                   mSpeed = 0;
  33.                }
  34.                mOrientation = 1;
  35.             }
  36.             mShowOnMap = true;
  37.          }
  38.       }
  39.       
  40.       public function State_WAIT() : void
  41.       {
  42.          if(mStateCount < 0)
  43.          {
  44.             SetState(mReturnStateID);
  45.          }
  46.       }
  47.       
  48.       public function State_WAIT_Exit() : void
  49.       {
  50.       }
  51.       
  52.       public function State_WAIT_Enter() : void
  53.       {
  54.          mSpeed = 0;
  55.       }
  56.    }
  57. }
  58.